package com.cjl.dental_clinic.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cjl.dental_clinic.base.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 处方信息表，关联患者和医生(Prescription)实体类
 *
 * @author makejava
 * @since 2024-04-12 17:10:10
 */
@Data
@Accessors(chain = true)
@TableName("prescription")
public class Prescription extends BaseEntity {
    // 患者ID
    @TableField("patient_id")
    private Integer patientId;
    // 医生ID
    @TableField("doctor_id")
    private Integer doctorId;
    // 处方日期
    @TableField("prescription_date")
    private Date prescriptionDate;
    // 处方内容
    @TableField("per_text")
    private String perText;
}


